syntax on
set number 
set ru
set hls is
set conceallevel=0
hi link HelpBar Normal
hi link HelpStar Normal
set showmode
call plug#begin()
" 完整的GitHub仓库地址
Plug 'https://github.com/junegunn/vim-github-dashboard.git'
" 简写形式，只写username/repo即可
Plug 'junegunn/fzf', { 'do': { -> fzf#install() } }
Plug 'junegunn/fzf.vim'
Plug 'preservim/nerdtree'
" 底部状态增强/美化插件 vim-airline-themes是主题插件
Plug 'vim-airline/vim-airline'
Plug 'vim-airline/vim-airline-themes'
call plug#end()

" ctrl-n 快速开启目录树
map <C-n> :NERDTreeToggle<CR>
" 表示当前目录找不到tags文件时请到上层目录查找，这样就不用在 tags 所在目录中才可以使用 ctags 了
set tags=tags;/

"永远显示状态栏
set laststatus=2
" 支持 powerline 字体
let g:airline_powerline_fonts = 1
" 显示窗口tab和buffer
let g:airline#extensions#tabline#enabled = 1
let g:airline_theme='moloai'
if !exists('g:airline_symbols') 
	let g:airline_symbols = {}
endif 
let g:airline_left_sep = '▶'
let g:airline_left_alt_sep = '❯'
let g:airline_right_sep = '◀'
let g:airline_right_alt_sep = '❮'
let g:airline_symbols.linenr = '¶'
let g:airline_symbols.branch = '⎇'

